package fr.sorbonne.inf1.tp3.properties;


import java.util.Locale;
import java.util.ResourceBundle;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * BundleTool
 * @author Dubos Romain
 * @author Oukherfellah Riad
 */
public class BundleTool {

    private static ResourceBundle bundle; //BundleTool pour récupérer les messages

    public static ResourceBundle getBundle() {
        return bundle;
    }

    public static void setBundle(Locale str){
        bundle = ResourceBundle.getBundle("fr.sorbonne.inf1.tp3.properties.messages", str);
    }

}
